package com.blrs.domain;

import java.util.ArrayList;
import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 荣誉资质信息对象 honor_management
 * 
 * @author ruoyi
 * @date 2023-07-18
 */
public class HonorManagement extends BaseEntity
 {
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    private String customerId;

     /**
      * 项目id
      */
     private String projectId;

    /** 证书类别 */
    @Excel(name = "证书类别",sort = 3,dictType = "certificate_type")
    private String type;

    /** 级别 */
    @Excel(name = "证书规格",sort = 4,dictType = "certificate_level")
    private String level;


     public String getProjectId() {
         return projectId;
     }

     public void setProjectId(String projectId) {
         this.projectId = projectId;
     }

     /** 证书名称 */
    @Excel(name = "证书名称",sort = 5)
    private String name;

    public StringBuffer getAttachment() {
        return attachment;
    }

    public void setAttachment(StringBuffer attachment) {
        this.attachment = attachment;
    }

     /**
      * 查询网址
       */
     @Excel(name = "查询网址")
     private String selectUrl;
     /**
      * 状态
      */
     @Excel(name = "状态",sort = 1,dictType = "honer_status")
     private  String status;

    /** 证书机构 */
    @Excel(name = "服务机构",sort = 9)
    private String serviceInstitu;

    /** 发证机构 */
   @Excel(name = "发证机构",sort = 8)
   private String certificateInstitution;
    /** 发证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证书到期日", width = 30, dateFormat = "yyyy-MM-dd",sort = 7)
    private Date issuanceTime;

    /** 有效期 */
     private String effectiveTime;

    /** 对接时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd",sort = 10)
    private Date abutmentTime;
     @JsonFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd",sort = 6)
    private Date entryTime;


     private String uploadFile;

     private String fileUrl;

     /**
      * 是否是当前组织机构录入的数据
      * @return
      */
     private boolean luRu=false;

     /**
      * 是否存在接收按钮
      * @return
      */
     private boolean receive=false;

     // 在现有的实体类中添加以下字段

     /** 初审阶段 */
     private String oneExamineStage;

     /** 第一年审核时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date firstExamineTime;

     /** 第二年审核时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date secondExamineTime;

     /** 换证时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date renewalTime;

     /** 是否是环通服务的证书 */
     private String isHuantong;

     /** 是否公开 */
     private boolean isPublic;

     private String secondType;

     public String getSecondType() {
         return secondType;
     }

     public void setSecondType(String secondType) {
         this.secondType = secondType;
     }

     // Getter 方法
     public boolean isPublic() {
         return isPublic;
     }

     // Setter 方法
     public void setPublic(boolean isPublic) {
         this.isPublic = isPublic;
     }

     // 生成对应的getter和setter方法
     public String getOneExamineStage() {
         return oneExamineStage;
     }

     public void setOneExamineStage(String oneExamineStage) {
         this.oneExamineStage = oneExamineStage;
     }

     public Date getFirstExamineTime() {
         return firstExamineTime;
     }

     public void setFirstExamineTime(Date firstExamineTime) {
         this.firstExamineTime = firstExamineTime;
     }

     public Date getSecondExamineTime() {
         return secondExamineTime;
     }

     public void setSecondExamineTime(Date secondExamineTime) {
         this.secondExamineTime = secondExamineTime;
     }

     public Date getRenewalTime() {
         return renewalTime;
     }

     public void setRenewalTime(Date renewalTime) {
         this.renewalTime = renewalTime;
     }

     public String getIsHuantong() {
         return isHuantong;
     }

     public void setIsHuantong(String isHuantong) {
         this.isHuantong = isHuantong;
     }

     public boolean isReceive() {
         return receive;
     }

     public void setReceive(boolean receive) {
         this.receive = receive;
     }

     public boolean isLuRu() {
         return luRu;
     }

     public void setLuRu(boolean luRu) {
         this.luRu = luRu;
     }

     public String getFileUrl() {
         return fileUrl;
     }

     public void setFileUrl(String fileUrl) {
         this.fileUrl = fileUrl;
     }

     public String getUploadFile() {
         return uploadFile;
     }

     public void setUploadFile(String uploadFile) {
         this.uploadFile = uploadFile;
     }

     public Date getEntryTime() {
         return entryTime;
     }

     public void setEntryTime(Date entryTime) {
         this.entryTime = entryTime;
     }

     private Integer pageNum;

    private Integer pageSize;


     public String getEnterpriseName() {
         return enterpriseName;
     }

     public void setEnterpriseName(String enterpriseName) {
         this.enterpriseName = enterpriseName;
     }

     /** 操作人id */
    private Long operateId;

    /** 部门id */
    private Long departmentId;

    /** 部门名称 */
    private String departmentName;

    /** 组织机构id */
    private Long organizationId;

    /** 组织机构名称 */
    private String organizationName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    @Excel(name = "创建人")
    private String createId;

     public String getCreateId() {
         return createId;
     }

     public void setCreateId(String createId) {
         this.createId = createId;
     }

     /** 修改时间 */
     @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd",sort = 2)
    private Date operateTime;
     /**
      * 企业名称（连表查询）
      */
     @Excel(name = "企业名称",sort = 12)
     private String enterpriseName;

     private String enterpriseId;

    /**
     * 附件信息
     * @param list
     */
    private ArrayList<HonerManagementAttachment> list;

    /**
     * 附件信息
     * @return
     */
    private StringBuffer attachment;

     /**
      * 分类id
      * @return
      */
     private String classificationId;

     /**
      * 证书编号
      * @return
      */
     @Excel(name = "证书编号",sort = 11)
     private String certificateNo;

     /**
      * 网址名称
      * @return
      */
     private String urlName;

     /**
      * 客户公司编号
      * @return
      */
     private String enterpriseNo;

     public String getEnterpriseId() {
         return enterpriseId;
     }

     public void setEnterpriseId(String enterpriseId) {
         this.enterpriseId = enterpriseId;
     }

     public String getEnterpriseNo() {
         return enterpriseNo;
     }

     public void setEnterpriseNo(String enterpriseNo) {
         this.enterpriseNo = enterpriseNo;
     }

     public String getCertificateNo() {
         return certificateNo;
     }

     public void setCertificateNo(String certificateNo) {
         this.certificateNo = certificateNo;
     }

     public String getUrlName() {
         return urlName;
     }

     public void setUrlName(String urlName) {
         this.urlName = urlName;
     }

     public String getClassificationId() {
         return classificationId;
     }

     public void setClassificationId(String classificationId) {
         this.classificationId = classificationId;
     }

     public Integer getPageNum() {
         return pageNum;
     }

     public void setPageNum(Integer pageNum) {
         this.pageNum = pageNum;
     }

     public String getSelectUrl() {
         return selectUrl;
     }

     public void setSelectUrl(String selectUrl) {
         this.selectUrl = selectUrl;
     }

     public String getStatus() {
         return status;
     }

     public void setStatus(String status) {
         this.status = status;
     }

     public ArrayList<HonerManagementAttachment> getList() {
        return list;
    }

    public void setList(ArrayList<HonerManagementAttachment> list) {
        this.list = list;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getCustomerId() {
        return customerId;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getCertificateInstitution() {
        return certificateInstitution;
    }

    public void setCertificateInstitution(String certificateInstitution) {
        this.certificateInstitution = certificateInstitution;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getType()
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setServiceInstitu(String serviceInstitu) 
    {
        this.serviceInstitu = serviceInstitu;
    }

    public String getServiceInstitu() 
    {
        return serviceInstitu;
    }
    public void setIssuanceTime(Date issuanceTime) 
    {
        this.issuanceTime = issuanceTime;
    }

    public Date getIssuanceTime() 
    {
        return issuanceTime;
    }

     public String getEffectiveTime() {
         return effectiveTime;
     }

     public void setEffectiveTime(String effectiveTime) {
         this.effectiveTime = effectiveTime;
     }

     public void setAbutmentTime(Date abutmentTime)
    {
        this.abutmentTime = abutmentTime;
    }

    public Date getAbutmentTime() 
    {
        return abutmentTime;
    }
    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }

     @Override
     public String toString() {
         return "HonorManagement{" +
                 "id='" + id + '\'' +
                 ", customerId='" + customerId + '\'' +
                 ", type='" + type + '\'' +
                 ", level='" + level + '\'' +
                 ", name='" + name + '\'' +
                 ", selectUrl='" + selectUrl + '\'' +
                 ", status='" + status + '\'' +
                 ", serviceInstitu='" + serviceInstitu + '\'' +
                 ", certificateInstitution='" + certificateInstitution + '\'' +
                 ", issuanceTime=" + issuanceTime +
                 ", effectiveTime=" + effectiveTime +
                 ", abutmentTime=" + abutmentTime +
                 ", operateId=" + operateId +
                 ", departmentId=" + departmentId +
                 ", departmentName='" + departmentName + '\'' +
                 ", organizationId=" + organizationId +
                 ", organizationName='" + organizationName + '\'' +
                 ", creationTime=" + creationTime +
                 ", operateTime=" + operateTime +
                 ", enterpriseName='" + enterpriseName + '\'' +
                 ", list=" + list +
                 ", attachment=" + attachment +
                 '}';
     }
 }
